<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\Orders
 *
 * @property int $id 自增id
 * @property int $good_id 商品id
 * @property int $user_id 用户id
 * @property string|null $order_num 订单编号
 * @property int $picture_id 图片id
 * @property int $num 数量
 * @property string|null $attr_name 属性
 * @property float $amount 金额
 * @property int $coin 波罗币
 * @property int $is_pay 是否支付
 * @property string|null $pay_time 支付时间
 * @property string|null $pay_type 支付方式
 * @property string|null $realname 真实姓名
 * @property string|null $phone 联系方式
 * @property string|null $qq qq
 * @property string|null $wechat 微信
 * @property string|null $address 收货地址
 * @property int $is_delivery 是否发货
 * @property int $status 状态
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\Orders onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereAddress($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereAmount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereAttrName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereCoin($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereGoodId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereIsDelivery($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereIsPay($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereOrderNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders wherePayTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders wherePayType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders wherePhone($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders wherePictureId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereQq($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereRealname($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereUserId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereWechat($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Orders withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\Orders withoutTrashed()
 * @mixin \Eloquent
 */
class Orders extends Model
{
    protected $table = 'orders';
    use SoftDeletes;
}